<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${knowledgePoints.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">父级名称：</label>
                            <div class="col-sm-8">
                                <input id="pid" name="pid" th:value="${knowledgePoints.pid}" class="form-control"
                                       type="hidden">
                                <input id="level" name="level" th:value="${knowledgePoints.level}" class="form-control"
                                type="hidden">
                                <input id="pidName" th:value="${pidName}" readonly class="form-control"
                                       type="text" onclick="openDept()">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">证书名称：</label>
                            <div class="col-sm-8">
                                <select id="profileId" name="profileId" class="form-control">
                                <option value="">请选择证书</option>
                                    <option th:selected="${knowledgePoints.profileId eq item.id}" th:value="${item.id}" th:each="item : ${certificateProfile}" th:text="${item.name}"></option>
                            </select>

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">知识点名称：</label>
                            <div class="col-sm-8">
                                <textarea id="name" name="name" class="form-control" th:text="${knowledgePoints.name}"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">适用等级：</label>
                            <div class="col-sm-8">
                                <input id="grade"  th:value="${knowledgePoints.grade}" class="form-control"
                                       type="hidden">
                                <label><input name="grade" type="checkbox" value="高级"/>高级 </label>
                                <label><input name="grade" type="checkbox" value="中级"/>中级 </label>
                                <label><input name="grade" type="checkbox" value="初级"/>初级 </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/knowledgePoints/edit.js">
</script>
</body>
</html>
